/**
 * Model for product.
 */
Ext.define('appmod.model.role.Role', {
    extend: 'Ext.data.Model',
	idProperty: 'id',
    fields: [
		'id',
        'name',
        'code',
		'parent',
		'role',
        {name:'createdDate' , type:Ext.data.Types.DATE , dateFormat:'Y-m-d'},
		'createdUser',
		{name:'updatedDate' , type:Ext.data.Types.DATE , dateFormat:'Y-m-d'},
        'updatedUser',
		{name:'disabled' , type:Ext.data.Types.BOOLEAN}
    ]
    
});

